package com.scut.chenlujie.library.clink.core;

import java.io.Closeable;
import java.io.IOException;

public interface Sender extends Closeable {
    void setSendListener(IoArgs.IoArgsEventProcessor processor) ;
    //异步发送 把传输的数据封装到IoArgs里面 发送的状态通过listener进行回调
    boolean postSendAsync() throws IOException;

    long  getLastWriteTime();
}
